package xyz.ddlnt.commonutil.constant;

/**
 * 命名---->
 * 交换机：USR / MG + 表名
 * 队列/路由：操作
 *
 * @author ZZULI_SE 210910
 * @data 2025/5/9 18:52
 */
public class MqConstants {

    public static final Integer PLUS_ONE = 1;   // count 加1
    public static final Integer MINUS_ONE = 1;  // count 减1

    // 用户信息表
    public static final String USR_USER = "usr.user";

    public static final String POST_PLUS_ONE_QUEUE = "post_plus_one";    // count 加1
    public static final String POST_MINUS_ONE_QUEUE = "post_minus_one";    // count 减1
    public static final String FOLLOW_PLUS_ONE_QUEUE = "follow_plus_one";    // count 减1
    public static final String FOLLOW_MINUS_ONE_QUEUE = "follow_minus_one";    // count 减1
    public static final String FANS_PLUS_ONE_QUEUE = "fans_plus_one";    // count 减1
    public static final String FANS_MINUS_ONE_QUEUE = "fans_minus_one";    // count 减1
    public static final String COLLECTED_COUNT_PLUS_ONE_QUEUE = "collected_count_plus_one";    // count 减1
    public static final String COLLECTED_COUNT_MINUS_ONE_QUEUE = "collected_count_minus_one";    // count 减1

    // 帖子信息表
    public static final String USR_POST = "usr.post";
    public static final String MG_POST = "mg.post";

    public static final String COLLECT_COUNT_PLUS_ONE = "collect_count_plus_one";
    public static final String COLLECT_COUNT_MINUS_ONE = "collect_count_minus_one";

    // 帖子浏览历史记录表
    public static final String USR_POST_HISTORY_RECORD = "usr.post_history_record";

    public static final String POST_HISTORY_RECORD_PLUS_ONE = "post_history_record_plus_one";

    // 私信人员列表
    public static final String USR_PRIVATE_MESSAGE_LIST = "usr.private_message_list";

    public static final String RECEIVER_STATUS_DELETE = "receiver_status_delete";
    public static final String UNREAD_MESSAGES_PLUS_ONE = "unread_messages_plus_one";

    // 消息表
    public static final String USR_MESSAGE = "usr.message";

    public static final String MESSAGE_PLUS_ONE = "message_plus_one";

    // 帖子评论表
    public static final String USR_POST_COMMENT = "usr.post_comment";

    public static final String COMMENT_COUNT_PLUS_ONE = "comment_count_plus_one";
}